

use Data_ChileSurvey_Appendix3_230313.dta, clear

*********************************************************************
********* Figure 8A: Consistency by Views on Constraints			 ****
*********************************************************************

********** Constraints Are Binding *****************

reg consistency_binary  substance_binding_binary if consistency_control ==1
outreg2 using "Regresions_Figure8A_1.xls", cons replace excel dec(3)

reg consistency_binary  substance_binding_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_control ==1   
outreg2 using "Regresions_Figure8A_1.xls", cons append excel dec(3)

reg consistency_binary  substance_binding_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_1.xls", cons append excel dec(3)

reg consistency_binary  substance_binding_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_treated ==1    
outreg2 using "Regresions_Figure8A_1.xls", cons append excel dec(3)

********** Constraints Are Good *****************

reg consistency_binary  substance_good_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8A_2.xls", cons replace excel dec(3)

reg consistency_binary  substance_good_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1  if consistency_control ==1 
outreg2 using "Regresions_Figure8A_2.xls", cons append excel dec(3)

reg consistency_binary  substance_good_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_2.xls", cons append excel dec(3)

reg consistency_binary  substance_good_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_2.xls", cons append excel dec(3)


********** Courts Should Strike Down *****************


reg consistency_binary  substance_strikedown_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8A_3.xls", cons replace excel dec(3)

reg consistency_binary  substance_strikedown_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8A_3.xls", cons append excel dec(3)

reg consistency_binary  substance_strikedown_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_3.xls", cons append excel dec(3)

reg consistency_binary  substance_strikedown_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_3.xls", cons append excel dec(3)


********** Citizens Should Vote Down *****************

reg consistency_binary  substance_votedown_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8A_4.xls", cons replace excel dec(3)

reg consistency_binary  substance_votedown_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_control ==1   
outreg2 using "Regresions_Figure8A_4.xls", cons append excel dec(3)

reg consistency_binary  substance_votedown_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8A_4.xls", cons append excel dec(3)

reg consistency_binary  substance_votedown_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_treated ==1    
outreg2 using "Regresions_Figure8A_4.xls", cons append excel dec(3)


*********************************************************************
********* Figure 8B: Consistency by Mechanism	 ****
*********************************************************************

********** Legal Rules *****************

reg consistency_binary  mechanism_legal_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8B_1.xls", cons replace excel dec(3)

reg consistency_binary  mechanism_legal_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_control ==1  
outreg2 using "Regresions_Figure8B_1.xls", cons append excel dec(3)

reg consistency_binary  mechanism_legal_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_1.xls", cons append excel dec(3)

reg consistency_binary  mechanism_legal_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1  
outreg2 using "Regresions_Figure8B_1.xls", cons append excel dec(3)

********** Gradual Change *****************

reg consistency_binary  mechanism_gradual_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8B_2.xls", cons replace excel dec(3)

reg consistency_binary  mechanism_gradual_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8B_2.xls", cons append excel dec(3)

reg consistency_binary  mechanism_gradual_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_2.xls", cons append excel dec(3)

reg consistency_binary  mechanism_gradual_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_treated ==1    
outreg2 using "Regresions_Figure8B_2.xls", cons append excel dec(3)

********** Protect Minorities *****************

reg consistency_binary  mechanism_minority_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8B_3.xls", cons replace excel dec(3)

reg consistency_binary  mechanism_minority_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_control ==1   
outreg2 using "Regresions_Figure8B_3.xls", cons append excel dec(3)

reg consistency_binary  mechanism_minority_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_3.xls", cons append excel dec(3)

reg consistency_binary  mechanism_minority_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1 if consistency_treated ==1    
outreg2 using "Regresions_Figure8B_3.xls", cons append excel dec(3)


********** Constitution Illegitimate *****************

reg consistency_binary  mechanism_illegitimate_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8B_4.xls", cons replace excel dec(3)

reg consistency_binary  mechanism_illegitimate_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8B_4.xls", cons append excel dec(3)

reg consistency_binary  mechanism_illegitimate_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_4.xls", cons append excel dec(3)

reg consistency_binary  mechanism_illegitimate_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_4.xls", cons append excel dec(3)

********** Change Needed *****************

reg consistency_binary  mechanism_changesneeded_binary  if consistency_control ==1
outreg2 using "Regresions_Figure8B_5.xls", cons replace excel dec(3)

reg consistency_binary  mechanism_changesneeded_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8B_5.xls", cons append excel dec(3)

reg consistency_binary  mechanism_changesneeded_binary  if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_5.xls", cons append excel dec(3)

reg consistency_binary  mechanism_changesneeded_binary i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8B_5.xls", cons append excel dec(3)


*********************************************************************
********* Figure 8C: Consistency by Relavant Other Stuff	 ****
*********************************************************************

********** Process *****************

reg consistency_binary  process  if consistency_control ==1
outreg2 using "Regresions_Figure8C_1.xls", cons replace excel dec(3)

reg consistency_binary  process i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8C_1.xls", cons append excel dec(3)

reg consistency_binary  process  if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_1.xls", cons append excel dec(3)

reg consistency_binary  process i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_1.xls", cons append excel dec(3)

********** Vote *****************

reg consistency_binary  vote  if consistency_control ==1
outreg2 using "Regresions_Figure8C_2.xls", cons replace excel dec(3)

reg consistency_binary  vote i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8C_2.xls", cons append excel dec(3)

reg consistency_binary  vote  if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_2.xls", cons append excel dec(3)

reg consistency_binary  vote i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_2.xls", cons append excel dec(3)


********** Liberal *****************

reg consistency_binary  liberal  if consistency_control ==1
outreg2 using "Regresions_Figure8C_3.xls", cons replace excel dec(3)

reg consistency_binary  liberal i.QQ1  i.QQ2  i.QQ3  i.QQ4   if consistency_control ==1
outreg2 using "Regresions_Figure8C_3.xls", cons append excel dec(3)

reg consistency_binary  liberal  if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_3.xls", cons append excel dec(3)

reg consistency_binary  liberal i.QQ1  i.QQ2  i.QQ3  i.QQ4   if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_3.xls", cons append excel dec(3)


********** Convervative *****************

reg consistency_binary  conservative  if consistency_control ==1
outreg2 using "Regresions_Figure8C_4.xls", cons replace excel dec(3)

reg consistency_binary  conservative i.QQ1  i.QQ2  i.QQ3  i.QQ4   if consistency_control ==1
outreg2 using "Regresions_Figure8C_4.xls", cons append excel dec(3)

reg consistency_binary  conservative  if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_4.xls", cons append excel dec(3)

reg consistency_binary  conservative i.QQ1  i.QQ2  i.QQ3  i.QQ4   if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_4.xls", cons append excel dec(3)


********** Knoweldge *****************

reg consistency_binary  know  if consistency_control ==1
outreg2 using "Regresions_Figure8C_5.xls", cons replace excel dec(3)

reg consistency_binary  know i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_control ==1
outreg2 using "Regresions_Figure8C_5.xls", cons append excel dec(3)

reg consistency_binary  know  if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_5.xls", cons append excel dec(3)

reg consistency_binary  know i.QQ1  i.QQ2  i.QQ3  i.QQ4  i.QQ5_1   if consistency_treated ==1 
outreg2 using "Regresions_Figure8C_5.xls", cons append excel dec(3)




tab process liberal
di  313/566
di 983/3480  
  
tab vote liberal

corr substance_binding_binary substance_good_binary substance_strikedown_binary substance_votedown_binary mechanism_legal_binary mechanism_gradual_binary  mechanism_minority_binary mechanism_illegitimate_binary  mechanism_changesneeded_binary process vote liberal conservative  know

